// 头部
#top {
    width: 100%;
    height: 65px;
    .top {
        padding-top: 10px;
        box-sizing: border-box;
        height: 65px;
        border-bottom: solid 1px #919191;
        p {
            margin-top: 25px;
            margin-right: 10px;
            color: #666;
            > a {
                margin-left: 50px;
                color: #666;
            }
            span a {
                color: #a10000;
                padding: 0 5px;
            }
        }
    }
}
#content {
    margin-bottom: 50px;
    .rate {
        height: 28px;
        background: url(../../img/buycararr.gif) no-repeat;
        div {
            box-sizing: border-box;
            float: left;
            font-weight: bold;
            line-height: 28px;
            height: 28px;
            text-align: center;
            color: #666;
            width: 177px;
        }

        // 选中时颜色
        .rateon {
            color: #fff;
        }
    }
    .conempty {
        height: 200px;
        display: none;
        p {
            text-align: center;
            line-height: 200px;
            color: Gray;
            font-size: 14px;
            font-weight: bold;
            a {
                color: #a10000;
                text-decoration: underline;
            }
        }
    }
    .carton {
        display: block;
    }
    .cartlisttop {
        p:nth-child(1) {
            margin: 10px 0;
            font-size: 18px;
            font-weight: bold;
            height: 30px;
            line-height: 38px;
            padding-left: 45px;
            width: 935px;
            background: url(../../img/cartop.gif) no-repeat;
            background-position: -460px 0;
            color: #333;
        }
        p:nth-child(2) {
            margin-top: 6px;
            color: #656565;
            line-height: 20px span {
                color: #a10000;
            }
        }
    }
    .carlisttab {
        margin-top: 20px;
        height: auto;
        margin-bottom: 15px;
        table {
            padding: 0;
            border-spacing: 0;
            tr {
                width: 1200px;
                display: flex;
                justify-content: space-between;

                th {
                    flex-grow: 1;
                }
            }
            .leftspace {
                width: 20px;
                border-left: 1px solid #dcdfe4;
            }
            .bar-title {
                width: 80px;
            }
            .image {
                width: 50px;
            }
            .name {
                width: 450px;
            }
            .size,
            .price {
                width: 80px;
            }
            .qty {
                width: 100px;
            }
            .discount {
                width: 50px;
            }
            .subtotal {
                width: 90px;
            }
            .operate {
                width: 80px;
            }
            .rightspace {
                width: 20px;
                border-right: 1px solid #dcdfe4;
            }
            thead {
                tr {
                    .bar-title {
                        input {
                            margin-right: 5px;
                            vertical-align: middle;
                        }
                    }
                    th {
                        box-sizing: border-box;
                        border-bottom: 1px solid #b7b7b7;
                        height: 37px;
                        line-height: 37px;
                        text-align: center;
                        background: url(../../img/tabthbg.png) repeat-x;
                        flex-grow: 1;
                    }
                }
            }
            tbody {
                .emptytop {
                    td {
                        height: 20px !important;
                    }
                }
                .emptybot {
                    border-bottom: 1px solid #b7b7b7;
                    td {
                        height: 20px;
                    }
                }
                tr {
                    img {
                        margin-top: 6px;
                        border: 1px solid rgb(204, 204, 204);
                    }
                    .operate {
                        cursor: pointer !important;
                    }
                    .bar-title,
                    .image,
                    .name,
                    .size,
                    .price,
                    .qty,
                    .discount,
                    .subtotal,
                    .operate {
                        background-color: #f8f8f8;
                    }
                    .name {
                        text-align: left;
                    }
                    .qty {
                        padding-top: 20px;
                        padding-left: 8px;
                        span {
                            float: left;
                        }
                        .qty-prev,
                        .qty-next {
                            display: inline-block;
                            font-weight: bold;
                            background-color: rgb(218, 218, 218);
                            color: #333;
                            border: 1px solid rgb(182, 182, 182);
                            line-height: 18px;
                            font-size: 18px;
                            width: 18px;
                            height: 18px;
                            cursor: pointer;
                        }
                        .qty-inner {
                            display: inline-block;
                            background-color: #fff;
                            color: #333;
                            border: 1px solid rgb(187, 187, 187);
                            line-height: 18px;
                            font-size: 18px;
                            width: 40px;
                            height: 18px;
                            margin: 0 5px;
                        }
                        // 数量选中背景色
                        .qtynumon {
                            background-color: #b50606;
                        }
                    }
                    td {
                        height: 60px;
                        line-height: 60px;
                        box-sizing: border-box;
                        font-size: 12px;
                        text-align: center;
                        vertical-align: middle;
                        flex-grow: 1;
                    }
                }
            }
        }
    }
    .settle {
        box-sizing: border-box;
        padding: 12px 10px 20px 20px;
        background: #fffef5;
        border: 1px solid #ebe5bb;
        line-height: 25px;
        position: relative;
        top: 0px;
        z-index: 1;
        height: 120px;
        p:nth-child(1) {
            height: 20px;
            line-height: 20px;
            margin: 15px 0;
            input {
                vertical-align: middle;
                margin-right: 10px;
            }
            a {
                margin: 0 30px;
            }
            a:hover {
                color: #a10000;
            }
            em {
                margin-left: 10px;
                color: #a10000;
                font-weight: bold;
            }
        }
        p:nth-child(2) {
            span {
                font-size: 24px;
                color: #a10000;
                em {
                    margin-left: 10px;
                }
            }
            a {
                color: #a10000;
                margin-left: 10px;
                text-decoration: underline;
            }
        }
        .continuebuy {
            position: absolute;
            left: 868px;
            top: 57px;
            display: block;
            background-color: #e9e9e9;
            border: 1px solid rgb(212, 212, 212);
            border-radius: 5px;
            color: #666;
            height: 37px;
            line-height: 37px;
            margin-left: 10px;
            font-size: 14px;
            text-align: center;
            width: 122px;
            cursor: pointer;
        }
        .gosettle {
            position: absolute;
            left: 1010px;
            top: 50px;
            em {
                font-weight: bold;
            }
            display: block;
            background-color: #bd0a0a;
            border: 1px solid rgb(212, 212, 212);
            border-radius: 5px;
            color: #fff;
            height: 50px;
            line-height: 50px;
            margin-left: 10px;
            font-size: 20px;
            text-align: center;
            width: 160px;
            cursor: pointer;
        }
    }
}

#footer {
    .fot-bot {
        hr {
            margin-bottom: 10px;
        }
        p {
            text-align: center;
            line-height: 25px;
            color: #999999;
            font-family: "Microsoft YaHei";
            a {
                color: #3e3a39;
            }
            a:hover {
                color: #b31a1d;
            }
        }
        .fot-link {
            margin: 20px 0px 10px;
            .chengxin {
                width: 113px;
                height: 42px;
                display: inline-block;
                background: url(../../img/jingling.png) no-repeat 0px -582px;
            }
            .costumeOrg {
                background: url(../../img/jingling.png) scroll 0 -629px transparent;
                display: inline-block;
                height: 45px;
                width: 156px;
                margin: 0 15px;
            }
            .jybz {
                background: url(../../img/jingling.png) no-repeat scroll 0px -676px;
                width: 96px;
                height: 42px;
                display: inline-block;
            }
        }
    }
}
